package com.yuedao.sender.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.yuedao.sender.service1.BaseinfoService;
import com.yuedao.sender.service1.OperateService;
import com.yuedao.sender.service1.OrderService;
import com.yuedao.sender.service1.PositionService;
import com.yuedao.sender.service1.RateService;
import com.yuedao.sender.service1.TimerService;
import com.yuedao.sender.util.AppLogger;

@RestController
@RequestMapping("/sendall")
public class SendAllDataController {

	@Autowired
	TimerService tim;

	protected static AppLogger logger = AppLogger.getInstance();

	@RequestMapping("/data")
	public String sendAllData() {
		String message = null;
		message = tim.sendAllData();
		return message;
	}

}
